RMI (Remote Method Invocation) Generation

This is a client/server stub/skeleton generator.
CLASSPATH
For

rmic support, set the system CLASSPATH environment variable to point to:

- JDK 1.1.x:

classes.zip (typically in <JDK_directory>/lib>)
- JDK 1.2:
rt.jar (typically in <JDK_directory>/jre/lib>)
Makefiles
To define remote methods, open your project Makefiles
<project_directory>/Makefile
and add the names of the files containing remote methods to the SNiFF_JAVA_RMI_FILES macro (use a space as separator).
RMI calls

- RMI can be called from the command line by entering

gmake rmi .
- You can automatically call RMI with each Java compiler make command.
In <sniff_installation_dir>/make_support/general.java.mk
change the following line
RMI_SUPPORT = 0
to
RMI_SUPPORT = 1
- Note that, if you use the
gmake clean command (or choose Target > Make > clean, using SNiFF+ Make Support) RMI generated files will also be deleted.